<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package keyson
 */

get_header(); ?>
<div class="box content">
	<div class="container">	
		<section class="twelve columns">
			<div class="row group">
				<div id="content" class="site-content">
					<div class="eight columns alpha">
						<div id="primary" class="content-area">
							<main id="main" class="site-main" role="main">

							<?php if ( have_posts() ) : ?>

								<?php /* Start the Loop */ ?>
								<?php while ( have_posts() ) : the_post(); ?>

									<?php
										/* Include the Post-Format-specific template for the content.
										 * If you want to override this in a child theme, then include a file
										 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
										 */
										get_template_part( 'content', get_post_format() );
									?>

								<?php endwhile; ?>

								<?php keyson_content_nav( 'nav-below' ); ?>

							<?php else : ?>

								<?php get_template_part( 'no-results', 'index' ); ?>

							<?php endif; ?>

							</main><!-- #main -->
						</div><!-- #primary -->
					</div>
					<div class="four columns omega">
						<?php get_sidebar(); ?>
					</div>	
				</div>
			</div>
		</section>
		<section class="twelve columns">
			<div class="row group contact">
				<div class="eight columns alpha">
					<div class="detail-contact">
						<div class="iconIMG"><img src="<?php bloginfo ('template_url'); ?>/images/building.png" alt="building" /></div>
						<div class="address"><p>Address: <br/>3015 Grand Ave, Coconut Grove, Merrick Way, FL 12345</p></div>
					</div>
					<div class="detail-contact">
						<div class="iconIMG"><img src="<?php bloginfo ('template_url'); ?>/images/phone.png" alt="building" /></div>
						<div class="phone"><p>Phone: <br/>123-456-7890</p></div>
					</div>
					<div class="detail-contact">
						<div class="iconIMG"><img src="<?php bloginfo ('template_url'); ?>/images/email.png" alt="building" /></div>
						<div class="email"><p>Email: <br/>info@yourwebsite.com</p></div>
					</div>
				</div>
				<div class="four columns omega" style="text-align:right;">
					<div class="social facebook"><a href="" ></a></div>
					<div class="social twitter"><a href="" ></a></div>
					<div class="social gplus"><a href="" ></a></div>
					<div class="social linkedln"><a href="" ></a></div>
				</div>
			</div>
		</section><div class="clear"></div>	
	</div><div class="clear"></div>
</div>	
<?php get_footer(); ?>